Problem Note 44674: Referencing an autocall macro stored in a catalog causes a message window to appear upon exiting SAS
Invoking an autocall macro that was stored in a catalog where the OPTIONS NOTES had been set, causes a message window to appear when exiting SAS. The message window contains something similar to the following. The aaa below might appear as strange characters in the message window.
NOTE: Fileref MACROS aaa assignment cannot be cleared while it is still in open status.
The following is an illustration of code that would cause this type of message above:
libname macros 'c:\temp';
filename foo catalog 'macros.test.testnotes.sas';
data _null_;
file foo;
put '%macro testnotes();';
put '%put Hello from testnotes() ;';
put '%mend testnotes;';
run;
/* execute the autocall macro */
options notes;
filename macros catalog 'macros.test' ;
options mautosource sasautos=macros ;
%testnotes() ;
Currently the only work-around is to physically remove the OPTIONS statement that contains the NOTES option.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft® Windows® for x64 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2008 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | |
Windows 7 Enterprise x64 | 9.2 TS2M3 | |
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | |
Windows 7 Home Premium x64 | 9.2 TS2M3 | |
Windows 7 Professional 32 bit | 9.2 TS2M3 | |
Windows 7 Professional x64 | 9.2 TS2M3 | |
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | |
Windows 7 Ultimate x64 | 9.2 TS2M3 | |
Windows Vista | 9.2 TS2M3 | 9.4 TS1M0 |
Windows Vista for x64 | 9.2 TS2M3 | 9.4 TS1M0 |
64-bit Enabled AIX | 9.2 TS2M3 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.2 TS2M3 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.2 TS2M3 | 9.4 TS1M0 |
HP-UX IPF | 9.2 TS2M3 | 9.4 TS1M0 |
Linux | 9.2 TS2M3 | 9.4 TS1M0 |
Linux for x64 | 9.2 TS2M3 | 9.4 TS1M0 |
OpenVMS on HP Integrity | 9.2 TS2M3 | 9.4 TS1M0 |
Solaris for x64 | 9.2 TS2M3 | 9.4 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
When storing a macro within a catalog and then referencing that macro, causes a message window to appear once SAS is exited.
Type: | Problem Note |
Priority: | low |
Date Modified: | 2011-11-11 12:20:39 |
Date Created: | 2011-10-18 10:00:01 |